package www;

public class Circle { 
		public double r,area;  
		public Circle(double r){  
		    this.r=r;  
		}  
		public void setR(double r) {  
		    this.r=r;  
		}  
		public double getR() {  
		    return r;  
		}  
		public double getArea() {  
		    area=3.14*r*r;  
		    return area;  
		}  
		public double getC(){
			return 3.14*2*r;
		}
		} 


